//
//  CFMarketListVC.m
//  CFfuturestalent
//
//  Created by 子yu 刘 on 2018/5/3.
//  Copyright © 2018年 子yu 刘. All rights reserved.
//

#import "CFMarketListVC.h"
#import "CFMarketCell.h"
#import "CFMarketDetailVC.h"

@interface CFMarketListVC ()<UITableViewDelegate,UITableViewDataSource>

@end

@implementation CFMarketListVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 10;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    CFMarketCell * cell = [tableView dequeueReusableCellWithIdentifier:@"CFMarketCell"];
    return cell;
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    CFMarketDetailVC * detail = (CFMarketDetailVC *)[CFUtility getVC:@"CFMarketDetailVC" Storyboard:MAEKET];
    [self.navigationController pushViewController:detail animated:YES];
}
@end
